bitkeeper revision 1.1159.196.2 (41a5ff4ct8PP91KB-eAf60440PriAA)
authorkaf24@scramble.cl.cam.ac.uk <kaf24@scramble.cl.cam.ac.uk>
Thu, 25 Nov 2004 15:50:36 +0000 (15:50 +0000)
committerkaf24@scramble.cl.cam.ac.uk <kaf24@scramble.cl.cam.ac.uk>
Thu, 25 Nov 2004 15:50:36 +0000 (15:50 +0000)
Get rid of MMU_UPDATE_DEBUG in Linux 2.4.

linux-2.4.27-xen-sparse/arch/xen/mm/fault.c

index 8aeb7fa1737ae4c56aa767d59b96bc3f5d9c6a52..76d95ff03a718f505447d2295e5cd0ed03940865 100644 (file)
@@ -84,27 +84,6 @@ asmlinkage void do_page_fault(struct pt_regs *regs,
         error_code &= 3;
         error_code |= (regs->xcs & 2) << 1;
 
-#if MMU_UPDATE_DEBUG > 0
-        if ( (error_code == 0) && (address >= TASK_SIZE) )
-        {
-            unsigned long paddr = __pa(address);
-            int i;
-            for ( i = 0; i < mmu_update_queue_idx; i++ )
-            {
-                if ( update_debug_queue[i].ptr == paddr )
-                {
-                    printk("XXX now(EIP=%08lx:ptr=%08lx) "
-                           "then(%s/%d:p/v=%08lx/%08lx)\n",
-                           regs->eip, address,
-                           update_debug_queue[i].file,
-                           update_debug_queue[i].line,
-                           update_debug_queue[i].ptr,
-                           update_debug_queue[i].val);
-                }
-            }
-        }
-#endif
-
        if ( flush_page_update_queue() != 0 )
                return;